const express = require('express')
const swipperData = require('../router_handler/swipper')
// 创建路由实例
const router = express.Router()

// 获取轮播图列表
router.get('/getlist',swipperData.getSwipperList)

// 添加轮播图
router.post('/addswipper',swipperData.addSwipper)

// 轮播图删除
router.get('/rms/:id',swipperData.removeSwipper)

module.exports = router